package homework;

public class Card {
    private String point;//点数
    private String type;//花色
    private String path;
    public int value;
    public String getPath() {
        return path;
    }
    public void setPath(String path) {
        this.path = path;
    }
    public int getValue() {
        return value;
    }
    public void setValue(int value) {
        this.value = value;
    }

    public Card() {
    }

    public Card(String point, String type, int value,String path) {
        this.point = point;
        this.type = type;
        this.value = value;
        this.path = path;
    }


    public Card(String point, String type) {
        this.point = point;
        this.type = type;
    }

    public String getPoint() {
        return point;
    }

    public void setPoint(String point) {
        this.point = point;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    @Override
    public String toString() {
        return path ;
    }
}
